package com.qfedu.dao;

import com.qfedu.entity.Cargoreceipt;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface CargoreceiptDao extends JpaRepository<Cargoreceipt,String> {

    Cargoreceipt save(Cargoreceipt cargoreceipt);


    List<Cargoreceipt> findAllByBackBillState(String backBillState);

    Cargoreceipt findByGoodsRevertBillCode(String goodsRevertBillCode);
}
